using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using btnet;

/// <summary>
/// Summary description for view_web_config
/// </summary>
public partial class view_web_config : System.Web.UI.Page
{
    protected Security security;

    ///////////////////////////////////////////////////////////////////////
    void Page_Load(Object sender, EventArgs e)
    {

	    Util.do_not_cache(Response);
	
	    security = new Security();
	    security.check_security( HttpContext.Current, Security.MUST_BE_ADMIN);

	    // create path
	    string path = Request.MapPath(Request.Path);
	    path = path.Replace("view_web_config.aspx","Web.config");

	    Response.ContentType = "application/xml";
	    Response.WriteFile(path);

    }
}